/*
        Copyright (C), 1993 SEIKO EPSON Corp.
                ALL RIGHTS RESERVED
 
        file name : isprint c
 
        This program returns "non-0", if char c is not a control character.
	If not, returns "0".
                parameters : char  c
                return     : non-0 or 0
 
        revision history
                1st release     1993/10/4       mizutani
                modify to work on native environment
                                1993/12/17      shinozuka

*/

#ifdef UNIX
#include "ctype.h"
#else
#include <ctype.h>
#endif

int isprint( c )
char c;
{
	int  i ;

	i = c ;
	if(32<=i && i<=126)
		return (i) ;
	else
		return (0) ;
}
